/**
 * 
 */
package com.swe727.spring2011.constraint1.server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.HashSet;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import com.swe727.spring2011.constraint1.observation.Observation;
import com.swe727.spring2011.constraint1.coordinate.Coordinate;

/**
 * The RMI stub to implement which will return a collection of Observations
 * @author Fernando Boccanera
 *
 */
public interface GetObservationRemote extends Remote {

	/**
	 * Retrieve observations
	 * @param coordinate is the coordinate of the observations to be retrieved
	 * @throws RemoteException if an error over RMI occurs
	 */
	public HashSet<Observation> getObservation(Coordinate coordinate) throws RemoteException;
}
